<!DOCTYPE HTML>
<html>
<head>
<script type="text/javascript">
var addscript = function(){
	if(0 == yam.$("#__at_ymmr_evt_cntnr").length){
		yam.$.ajax({
			type:"GET",
			url:"http://localhost:8080/yammerbookmarklets/js/showEvents.js",
			dataType:"script"
		});
	}
}
function init(){
	var container = document.getElementById("container");
	container.innerHTML = [
		               	    "<a href='javascript:(",
		               	    ("" + addscript).replace(/[\r\n\t]/g,""),
		               	    ")();'>drag this link to bookmark bar</a>"
		               	].join("");

}
</script>

</head>
<body onload="init()">
<div id="container">
</div>
</body></html>